import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Element from 'element-ui'
// import "element-ui/lib/theme-chalk/index.css"
//引入自定义的element主体
import './theme/index.css'
import axios from './utils/request' //引入自定义的axios
import global from './utils/mixin/globalFun' //引入混入，用于判断按钮权限
// import axios from 'axios'
// require("./mock") //引入mock数据，关闭则注释该行    后面我们mock.js会自动为我们拦截ajax，并自动匹配路径返回数据！

Vue.prototype.$axios = axios //引入axios
Vue.use(Element)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')